//to reset element-ui default css
.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}

//暂时性解决diolag 问题 https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;
}

//element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}
/* 配色 */
$primaryColor:#7F4CB3;
$matchColor:#FF9812;
/* 取消tab下边框 */
//.el-tabs__header .el-tabs__nav-wrap::after{ background-color: transparent !important; }

/* select 选中时的样式 */
//.el-select-dropdown__item.selected{
//  color: #fff;
//  background-color: $primaryColor;
//  border-radius: 3px;
//  &::after{
//    content: '';
//    position: absolute;
//    top: 50%;
//    left: 8px;
//    width: 6px;
//    height: 6px;
//    transform: translateY(-50%);
//    background-color: #fff;
//    border-radius: 50%;
//  }
//}
/* 级联选择器选中时的样式 */
.el-cascader-node.in-active-path, .el-cascader-node.is-active, .el-cascader-node.is-selectable.in-checked-path{
  color: $primaryColor;
}
/* 弹窗头部 */
.el-dialog__header {background-color: $primaryColor;padding: 10px 20px 5px;border-top-left-radius: 4px;-webkit-border-top-right-radius: 4px;}
.el-dialog__title{font-size: 16px;color:#fff;}
.el-dialog{border-radius: 4px;}
.el-dialog__body{padding: 10px 20px;font-size: 12px;}
.el-dialog{min-width: 600px;}
.el-dialog__close.el-icon-close:before{color:#fff;top: -8px;position: relative;}

/* select框大小 */
.el-select{width: 100%;}
.el-date-editor.el-input{width: 100%;}
.el-select-dropdown__item{font-size: 12px;}

/* 数字框 上下箭头背景 */
.el-input-number__increase,.el-input-number__decrease{background: none;}
.el-input-number{width: 100%;}
.el-input-number.is-controls-right .el-input__inner{padding-left: 15px;padding-right: 25px;}
.el-input-number .el-input__inner{text-align: left}

/* 日期框大小 */
.el-date-editor--daterange.el-input__inner{width: 100%;}
/* 日期选择器 至字大小 */
.el-date-editor .el-range-separator { width:15%;color: #676767; }


/* 分页 */
.el-pager li {font-weight: 400;}

/* 表格样式*/
.el-table th{background-color: #efefef;}
.el-table .cell{color: #333;}
.el-table--scrollable-x .el-table__body-wrapper{padding-bottom: 10px;}
.el-table__body tr.hover-row>td{background-color: #f8f8f8}
.el-table__fixed,.el-table__fixed-right{box-shadow:none}

/* tabs 切换*/
.el-tabs__header{margin: 0;}
.el-tabs__item{color:#c1c1c1;}

/* 表单 */
.el-form-item__label {font-size: 12px;}

/* tag标签 */
.el-tag.el-tag--warning{color:#ff9000;}

/* 按钮 */
.el-button--primary.is-plain{background: none}
.el-button--primary.is-plain:hover{background:rgb(242, 237, 247);color:$primaryColor}
// 按钮宽度最小74px
.el-button { min-width: 74px }
.el-button--text { min-width: 0 }
.el-button--primary { background:#3280FE; }
.el-button--primary:hover { background:#3280FE; box-shadow:0px 2px 8px 0px rgba(50,128,254,0.5); }
// 一级按钮active效果
.el-button--primary:focus { background: #3280FE; }
.el-button--primary:active { background: #0852C9; }

.el-cascader{width: 100%;}



